package com.survey.Controller;

import com.survey.pojo.vo.SurveyVO;
import com.survey.service.SurveyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.util.List;

@Controller
public class SurveyCodeController {
    /*@Autowired
    SurveyService surveyService;*/
    @RequestMapping("Survey_Code")
    public String Survey_Code(Integer id,Model model) throws Exception {
        /*SurveyVO surveyVO = new SurveyVO();
        surveyVO.setId(id);
        List<SurveyVO> result = surveyService.listSurvey(surveyVO);
        model.addAttribute("result",result);*/
        return "Survey_Code.jsp";
    }


}
